<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>header</title>
    <!--公共的头部页面-->
</head>
<body>
<div class="header" th:fragment="header">
    <div>
        <ul class="navbar-nav mynav">

            <!-- begin::navigation-toggler -->
            <li class="nav-item navigation-toggler arrow">
                <a href="#" class="nav-link" title="Hide navigation">
                    <i data-feather="menu"></i>
                </a>
            </li>
            <li class="nav-item navigation-toggler mobile-toggler">
                <a href="#" class="nav-link" title="Show navigation">
                    <i data-feather="menu"></i>
                </a>
            </li>

        </ul>
        <div class="mynav">
            <h4>事务中心</h4>
        </div>
    </div>
    <!--右上角图标-->
    <div>
        <ul class="navbar-nav">

            <!-- begin::header search -->
            <li class="nav-item">
                <a href="#" class="nav-link" title="Search" data-toggle="dropdown">
                    <i data-feather="search"></i>
                </a>
                <div class="dropdown-menu p-2 dropdown-menu-right">
                    <form>
                        <div class="input-group">
                            <input type="text" class="form-control" placeholder="Search">
                            <div class="input-group-prepend">
                                <button class="btn" type="button">
                                    <i data-feather="search"></i>
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </li>
            <!-- end::header search -->

            <!-- begin::header minimize/maximize -->
            <li class="nav-item dropdown">
                <a href="#" class="nav-link" title="Fullscreen" data-toggle="fullscreen">
                    <i class="maximize" data-feather="maximize"></i>
                    <i class="minimize" data-feather="minimize"></i>
                </a>
            </li>
            <!-- end::header minimize/maximize -->

            <!--主题切换-->
            <li class="nav-item">
                <a href="#" class="nav-link" title="Night Mode" data-toggle="dropdown">
                    <i class="pe-is-w-moon-1 moon"></i>
                </a>
            </li>
            <!--主题切换-->

            <!-- begin::user menu -->
            <li class="nav-item dropdown">
                <a href="#" class="nav-link" title="User menu" data-toggle="dropdown">
                    <i data-feather="settings"></i>
                </a>
                <div class="dropdown-menu dropdown-menu-right dropdown-menu-big">
                    <div class="p-4 text-center d-flex justify-content-between">
                        <!--data-backround-image="assets/media/image/image1.jpg">-->
                        <h6 class="mb-0">Settings</h6>
                    </div>
                    <div>
                        <ul class="list-group list-group-flush">
                            <li class="list-group-item">
                                <a href="/user/info" type="button">个人信息</a>
                            </li>
                            <li class="list-group-item">
                                <a href="/user/self_password_modify" type="button">修改密码</a>
                            </li>
                            <li class="list-group-item">
                                <a href="/user/logout" type="button">退出登录</a>
                            </li>
                        </ul>
                    </div>
                </div>
            </li>
            <!-- end::user menu -->
        </ul>

        <!-- begin::mobile header toggler -->
        <ul class="navbar-nav d-flex align-items-center">
            <li class="nav-item header-toggler">
                <a href="#" class="nav-link">
                    <i data-feather="arrow-down"></i>
                </a>
            </li>
        </ul>
        <!-- end::mobile header toggler -->
    </div>

</div>
</body>
</html>